<?php

interface yzCoreInterface {
	
	public function __construct();
	
	public function __get($sName);
	public function __set($sName, $mValue);
	public function __unset($sName);
	public function __isset($sName);
	public function __call();
	public function __toString();	
	
	public function getObject($sName);
	public function setObject($sName, $mValue = null);
	public function isSetObject($sName);
	public function unsetObject($sName);	
	
	public function getProperty($sName);
	public function setProperty($sName, $mValue);
	public function isSetProperty($sName);
	public function unsetProperty($sName);
	
	public function importProperties(&$aProperties);
	public function getProperties($sFilter);

	public function call($sName);
	public function filter($sName, $mValue);
		
}

interface yzException extends Exception{}


interface yzRegistryInterface {
	
	public function getVar();
	public function setVar();
	public function isSetVar();
	public function unsetVar();
	
	public function importVars();
	public function getVars();
	
}

interface yzDatabaseInterface{

	public function adapter();
 	public function connect();
	public function query();
	public function fetch();
	public function fetchAll();
	public function fetchCol();
	public function fetchValue();
	public function fetchPairs();
	public function lastInsertId();
	public function lastError();
	public function escape();
	public function quote();
	public function quoteInto();



}

interface yzDatabaseAdapterInterface {
	
	public function connect();
	public function query();
	public function fetch();
	public function fetchAll();
	public function fetchCol();
	public function fetchValue();
	public function fetchPairs();
	public function lastInsertId();
	public function lastError();
	public function escape();
	public function quote();
	public function quoteInto(); // ?

}


interface yzBinding{
	
	public function bind();
	public function unbind();
	public function reset();
	public function remove();
	public function get();
	public function update();
	public function isBind();
	public function getAll();
	public function getBy();
	
}

interface yzParser{
	
	public function parseString();
	public function parseFile();
	public function loadData();
	public function parse();
	public function getLanguage();
	public function setLanguage();
	public function getLanguageList();
	public function getTemplate();
	public function setTemplate();
	public function isSetTemplate();
	public function unsetTemplate();
	public function getQuery();
	public function setQuery();
	public function isSetQuery();
	public function unsetQuery();
	public function getVariable();
	public function setVariable();
	public function isSetVariable();
	public function unsetVariable();
	public function getMessage();
	public function setMessage();
	public function isSetMessage();
	public function unsetMesage();
	
}

interface yzSession{
	
	public function open();
	public function close();
	public function read();
	public function write();
	public function destroy();
	public function gc();	
	
}
interface yzLogin{
	
	public function login();
	public function logout();
	public function isLogged();
	public function setToken();
	
}
interface yzCache{

	public function isSetCache();
	public function isValidCache();
	public function setCache();
	public function getCache();
	public function unsetCache();
	public function purge();
	public function generateCacheId();

}

interface yzSearch{}




interface yzImage{

 public function send();
 public function read();
 public function fetch();
 public function save();
 public function insert();
 protected function allocateMemory();

}

interface yzValidator{

	public function sanitize();
	public function isValid();

}

interface yzSQLBuilder{
	
	public function limit();
	public function order();
	public function where();
	public function select();
	public function insert();
	public function delete();
	public function replace();
	public function update();
	
}



interface yzCSSMapper{

	 public function read();
	 public function extractPalettes();
	 public function setPalette();
	 public function sendFile();

}




interface yzHTMLBuilder{
	
	public function form();
	public function tag();
	public function input();
	public function checked();
	
}

interface yzPage{
	
	public function getPersistentVar();
	public function setPersistentVar();
	public function isSetPersistentVar();
	public function unsetPersistentVar();
	public function setIfEmptyPersistentVar();
	
	public function route();
	
}
interface yzController{
	
	public function dispatch();
	public function controller();
	public function __toString();
	
	
}
interface yzView{
	
	public function display();
	public function displayList();
	public function displayTree();
	public function displayItem();
	public function displayString();
	
	public function paginate();
	
	public function __toString();
	
}

interface yzModel{
	
	public function getTable();
	
	public function fetch();
	public function fetchAll();
	public function fetchBy();	
	public function fetchCol();
	public function fetchValue();
	public function fetchPairs();
		
	public function update();
	public function insert();
	public function replace(); 
	public function delete();
	
}

interface yzFile{

	public function read();
	public function save();
	public function exists();
	public function delete();

}


interface yzLogInterface {
	
	public function add();
	public function get();
	public function display();
	public function save();

}


interface yzModelGenerator{}
interface yzViewGenerator{}
interface yzControllerGenerator{}


?>